export type FormState = {
  name: string;
  desc: string;
  inputParams: InitParamItem[];
  outputParams: InitParamItem[];
};

export type InitParamItem = {
  key: string;
  paramName: string;
  paramDesc: string;
  paramType: 'string' | 'number' | 'boolean';
  inputMethod: 'input' | 'select' | 'textarea';
  isRequired: boolean;
};

export type ToolType = {
  args_schema: {
    [key: string]: any;
  };
  description: any;
  name: string;
  response_format: any;
  return_direct: boolean;
};

export type McpType = {
  config: {
    [key: string]: any;
  };
  description: any;
  id: number;
  server_name: string;
  tools: ToolType[];
};
